//
//  GameLayer.h
//  TestFistGame
//
//  Created by  on 5/17/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"
#import "GameObject.h"

@class iCoreGUIController;

@interface GameLayer : CCLayer {
    iCoreGUIController *mainGUIController;
    NSMutableArray *listGameObject;
}

@property (retain, nonatomic) NSMutableArray *listGameObject;
@property (retain, nonatomic) iCoreGUIController *mainGUIController;

-(id)initGameLayerWith:(iCoreGUIController *)_mainGUIController;
-(void)addGameObject:(GameObject *)_gameObject;
-(void)removeGameObject:(GameObject *)_gameObject;
-(void)pauseGame;
-(void)resumeGame;

-(void) isTouchEnableForAllChild:(BOOL)_value;

@end
